<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>首页|分类</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="css/reset.css" />
		<link rel="stylesheet" type="text/css" href="css/common.css" />
		<link rel="stylesheet" type="text/css" href="css/index.css" />
		<link rel="stylesheet" type="text/css" href="css/category.css" />
		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
	</head>

	<body>
		<!--头部s-->
		<header>
			<div class="back clearfix">
				<div class="headerleft">Back</div>
				<div class="headermiddle">分类</div>

				<div class="selectBar fr">
					<select name="">
						<option value="">广州市</option>
						<option value="">佛山市</option>
						<option value="">深圳市</option>
					</select>
				</div>
			</div>
		</header>
		<!--头部e-->

		<!--内容页面s-->
		<section>

			<div class="fenlei">
				
				<div class="myfood"><div><img src="img/feilei1.jpg" /></div><span>美食</span></div>
				
				
				<div class="movice"><div ><img src="img/changge.jpg"></div><span>电影</span></div>
					<div class="movice"><div ><img src="img/changge.jpg"></div><span>电影</span></div>
						<div class="movice"><div ><img src="img/changge.jpg"></div><span>电影</span></div>
				
			</div>
			
			
			
			
			
			
			<!--美食类-->
			<div class="foodclass">
				<div class="tuangoutop">
					<div><img src="img/food1.jpg" /></div>
					<div>美食类</div>
					<div class="fr"><img src="img/right.jpg" /></div>
					<div class="fr">更多</div>
				</div>
				<div class="foodtwo">
					<div><img src="img/images/food2_07.jpg" /></div>
					<div><img src="img/images/food3_09.jpg" /></div>
					<div><img src="img/images/food4_11.jpg" /></div>
					<div><img src="img/images/food5_13.jpg" /></div>
				</div>

			</div>
			<!--运动类-->
			<div class="foodclass">
				<div class="tuangoutop">
					<div><img src="img/food1.jpg" /></div>
					<div>运动类</div>
					<div class="fr"><img src="img/right.jpg" /></div>
					<div class="fr">更多</div>
				</div>
				<div class="foodtwo">
					<div><img src="img/images/food2_07.jpg" /></div>
					<div><img src="img/images/food3_09.jpg" /></div>
					<div><img src="img/images/food4_11.jpg" /></div>
					<div><img src="img/images/food5_13.jpg" /></div>
				</div>

			</div>

			<!--电影类-->
			<div class="foodclass">
				<div class="tuangoutop">
					<div><img src="img/food1.jpg" /></div>
					<div>电影类</div>
					<div class="fr"><img src="img/right.jpg" /></div>
					<div class="fr">更多</div>
				</div>
				<div class="foodtwo">
					<div><img src="img/images/food2_07.jpg" /></div>
					<div><img src="img/images/food3_09.jpg" /></div>
					<div><img src="img/images/food4_11.jpg" /></div>
					<div><img src="img/images/food5_13.jpg" /></div>
				</div>

			</div>

		</section>
		<!--内容页面e-->

		<!--尾部s-->
		<footer>
			<div class="footer">

				<div class="footer1">
					<a href="index.html"><i class="iconfont icon-yemian"></i></a>
					<p><a href="index.html">首页</a></p>
				</div>

				<div class="footer1">
					<a href="category.html"><i class="iconfont icon-feilei"></i></a>
					<p><a href="category.html"></a>分类</p>
				</div>

				<div class="footer1">
					<a href="faxiang.html"><i class="iconfont icon-faxian"></i></a>
					<p><a href="faxiang.html">发现</a></p>
				</div>

				<div class="footer1">
					<a href="myself.html"><i class="iconfont icon-md-mine-outline"></i></a>
					<p><a href="myself.html">我的</a></p>
				</div>

			</div>

		</footer>
		<!--尾部e-->

		<!-- 脚本 -->
		<script>
			document.body.style.height = window.innerHeight + "px";

			/*动态改变根元素字体大小*/
			function recalc() {
				// 获取客户端宽度
				var clientWidth = document.documentElement.clientWidth;
				if(!clientWidth) return;
				// 字体大小   = 1个rem单位表示多少个像素（设备的宽度   /设计宽度）
				document.documentElement.style.fontSize = 40 * (clientWidth / 750) + 'px';

			}

			function initRecalc() {
				recalc();
				// if(浏览器支持横竖屏切换的事件){横竖屏事件}else{ resize事件 }
				var resizeEvt = 'osrientationchange' in window ? 'orientationchange' : 'resize';
				if(!document.addEventListener) return;
				window.addEventListener(resizeEvt, recalc, false);
				document.addEventListener('DOMContentLoaded', recalc, false);
			}
			initRecalc();
		</script>

	</body>

</html>